<html>
  <head>
    <meta name="layout" content="login" />
  <g:javascript src="sha1.js" />
  <g:javascript src="login.js" />
  <script type="text/javascript">
  $(document).ready(function () {
      $('#password').focus()
      $('#loginForm').submit(function () { return submitLogin(); })
  });
  var LOC_LOGIN_ONEMOMENT = "${g.message(code:'g.login.onemoment')}"
  </script>
  <link rel="stylesheet" href="${resource(dir:'css',file:'login.css')}" />
  <style type="text/css">
    form {width:100%; height: 100%;}
  </style>
</head>
<body>
<g:form name="loginForm" action="login" method="post">
  <input type="hidden" id="nonce" name="nonce" value="${UUID.randomUUID()}" />
  <input type="hidden" id="saltedHash" name="saltedHash" />
  <div class="login_box">
    <div>
      <g:message code="g.login.password" />&nbsp;
      <input id="password" type="password" name="password" />&nbsp;
      <input type="submit" id="okButton" value="${g.message(code:'g.login.submit')}">
    </div>
  </div>
</g:form>
<g:render template="/analytics" />
</body>
</html>